package thread.my_thread1;


//多线程实现方式1：继承Thread类
public class MyThread  extends Thread{

    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println(getName()+"hello word");
        }
    }
}
